package com.ktjy.goods.service.impl;

import com.ktjy.goods.domain.TAttr;
import com.ktjy.goods.mapper.TAttrMapper;
import com.ktjy.goods.service.ITAttrService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 规格属性表 服务实现类
 * </p>
 *
 * @author author
 * @since 2025-03-18
 */
@Service
public class TAttrServiceImpl extends ServiceImpl<TAttrMapper, TAttr> implements ITAttrService {

    @Autowired
    private TAttrMapper tAttrMapper;

    @Override
    public List<TAttr> selectAttrList(Long goodsId) {
        return tAttrMapper.selectAttrList(goodsId);
//        return tAttrMapper.selectList(null);
    }
}
